package edu.whut.mall.mapper;

import edu.whut.mall.model.UserGroupBuyRuleCount;
import edu.whut.mall.model.UserGroupBuyRuleCountExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserGroupBuyRuleCountMapper {
    long countByExample(UserGroupBuyRuleCountExample example);

    int deleteByExample(UserGroupBuyRuleCountExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserGroupBuyRuleCount record);

    int insertSelective(UserGroupBuyRuleCount record);

    List<UserGroupBuyRuleCount> selectByExample(UserGroupBuyRuleCountExample example);

    UserGroupBuyRuleCount selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserGroupBuyRuleCount record, @Param("example") UserGroupBuyRuleCountExample example);

    int updateByExample(@Param("record") UserGroupBuyRuleCount record, @Param("example") UserGroupBuyRuleCountExample example);

    int updateByPrimaryKeySelective(UserGroupBuyRuleCount record);

    int updateByPrimaryKey(UserGroupBuyRuleCount record);
}